package com.angel.provider.sys.impl;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.angel.core.base.BaseProviderImpl;
import com.angel.core.util.Pager;
import com.angel.core.util.StringUtils;
import com.angel.dao.health.BuzCustomerMapper;
import com.angel.dao.health.SysSendMessageMapper;
import com.angel.health.BuzCustomer;
import com.angel.health.SysArea;
import com.angel.health.SysSendMessage;
import com.angel.provider.sys.SysSendMessageProvider;

/**
 * @author cheng sir
 * 2016年9月8日下午7:43:34
 */
@Service
public class SysSendMessageProviderImpl extends BaseProviderImpl<SysSendMessage> implements SysSendMessageProvider {

	@Autowired
	private SysSendMessageMapper sysSendMessageMapper;
	@Autowired
	private BuzCustomerMapper customerMapper;
	
	@Override
	public int insert(SysSendMessage sysSendMessage){
		sysSendMessage.setSendTime(new Date());
		return sysSendMessageMapper.insert(sysSendMessage);
	}

}
